<?php

namespace Cli\Controller;
use Cli\Controller\CommonController; 
/**
 * 微信卡券命令行接口, 
 */
class WxCardController extends CommonController {
    private $wxcard;
            
    function _initialize() {
        parent::_initialize();
        $this->wxcard = \Library\WxCard::getInstance();
    }

    //创建微信卡券
	public function create() {
        //$path = curl_file_create('/Users/pufan/www/cmfx/data/upload/20160429/5722fa265cc93.jpg');
        $this->wxcard->create($path);
    }
}


